#ifndef MESWIZARD_H
#define MESWIZARD_H

#include <QCloseEvent>
#include "enpc.h"

namespace Ui
{
    class MesWizard;
}

class MesWizard : public QDialog
{
    Q_OBJECT

    public:
        explicit MesWizard(QWidget *parent = 0);
        ~MesWizard();

    protected:
        void closeEvent(QCloseEvent *e);

    private slots:
        void nextDialog();
        void colorizeCurrentDialog();

        void on_btnCancel_clicked();
        void on_btnColor_clicked();
        void on_btnNextcmd_clicked();
        void on_btnInsert_clicked();
        void on_btnInfo_clicked();
        void on_btnPreview_clicked();

    signals:
        void mesInserted(QString);
        void dialogSwitched(QString);
        void dialogEnded();

    private:
        Ui::MesWizard *ui;
        QStringList dialogs; /* Dialogues du NPC (délimités par les next;) */
        bool inserted;
        QTextEdit* messageBox;

        static int currentDialog;
};

#endif // MESWIZARD_H
